<?php/** * Created by PhpStorm. * User: 悟能科技 * Date: 2018/11/2 * Time: 10:24 */namespace app\common\model;use think\Model;use think\Session;class RougeUser extends Model{    const LEVEL_TOP = 1;    const LEVEL_TWO = 2;    const LEVEL_THREE = 3;    const LEVEL_NULL = 0;    /**     * 分销级别list     * @return array     */    public static function levelList() {        return [            self::LEVEL_TWO => '二级分销',            self::LEVEL_TOP => '一级分销',            self::LEVEL_THREE => '三级分销',        ];    }}